package cn.hznc.domain.entity.nx;

import cn.hznc.domain.request.nx.NxToolInfo;
import cn.hznc.domain.request.nx.OriginToolInfo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/3/28 16:59
 */
@Getter
@Setter
@TableName(value = "t_nx_sub_program")
public class NxSubprogramEntity{


    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11 , isKey = true ,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 子程序名
     */
    @Column(name = "name",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("name")
    private String name;

    /**
     * 子程序类型
     */
    @Column(name = "sub_program_type",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("sub_program_type")
    private String subProgramType;

    /**
     * 切削时间
     */
    @Column(name = "cutting_time",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("cutting_time")
    private String cuttingTime;

    /**
     * 非切削时间
     */
    @Column(name = "non_cutting_time",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("non_cutting_time")
    private String nonCuttingTime;

    /**
     * 总时间
     */
    @Column(name = "total_time",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("total_time")
    private String totalTime;

    /**
     * 切削长度
     */
    @Column(name = "cutting_length",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("cutting_length")
    private String cuttingLength;

    /**
     * 非切削长度
     */
    @Column(name = "non_cutting_length",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("non_cutting_length")
    private String nonCuttingLength;

    /**
     * 总长度
     */
    @Column(name = "total_length",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("total_length")
    private String totalLength;

    /**
     * 切削深度
     */
    @Column(name = "cutting_depth",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("cutting_depth")
    private String cuttingDepth;

    /**
     * 主轴转速
     */
    @Column(name = "speed",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("speed")
    private String speed;

    /**
     * 表面速度
     */
    @Column(name = "surface_speed",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("surface_speed")
    private String surfaceSpeed;

    /**
     * 刀具管理系统总成与零件参数json
     */
    @Column(name = "nx_tool_info_json_str",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("nx_tool_info_json_str")
    private String nxToolInfoJsonStr;

    /**
     * nx刀具切削参数json
     */
    @Column(name = "origin_tool_info_json_str",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("origin_tool_info_json_str")
    private String originToolInfoJsonStr;

    /**
     * 子程序内码
     */
    @Column(name = "nx_sub_program_code",type = MySqlTypeConstant.VARCHAR , length = 150)
    @TableField("nx_sub_program_code")
    private String nxSubProgramCode;

    /**
     * 子程序内码
     */
    @Column(name = "nx_program_code",type = MySqlTypeConstant.VARCHAR , length = 150)
    @TableField("nx_program_code")
    private String nxProgramCode;

    /**
     * 刀具号
     */
    @Column(name = "tool_no",type = MySqlTypeConstant.VARCHAR , length = 50)
    @TableField("tool_no")
    private String toolNo;

}
